//Listing - Printing with printf()
#include <stdio.h>

int main(void)
{
    printf("%s", "hello world\n");
    char *phrase = "Hello again\n";
    printf("%s", phrase);

    int x = 5;
    printf("%d\n", x);

    char *phraseTwo = "Here's some value: ";
    char *phraseThree = " and also these: ";
    int y = 7, z = 35;
    long longVar = 98456;
    float floatVar = 8.8f;

    printf("%s %d %d", phraseTwo, y, z);
    printf("%s %ld %f\n", phraseThree, longVar, floatVar);

    char *phraseFour = "Formatted: ";
    printf("%s %5d %10d %10.5f\n", phraseFour, y, z, floatVar);

}